html,
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  width: 100%;
  padding-top: 0;
  overflow-x: hidden;
}

:root {
  --primary: #0A2A43;
  /* Navy Blue */
  --secondary: #D4AF37;
  /* Gold */
  --background: #F8F7F3;
  /* Ivory */
  --dark: #0A2A43;
  --light-bg: #f8f9fa;
  --text: #1F2933;
  --muted: #6B7280;

  /* Utility */
  --success: #2E7D32;
  --danger: #C62828;
}


.navbar {
  background: #ffffff;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}


.navbar-brand img {
  height: 50px;
}

.nav-link {
  color: #333;
  font-weight: 500;
  margin: 0 10px;
  transition: color 0.3s;
}

.nav-item .active {
  font-weight: 600;
  color: var(--secondary);
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link.show {
  color: var(--secondary);
}

.nav-link:hover {
  color: var(--primary) !important;
}

.btn-donate-nav {
  background: var(--secondary);
  color: white;
  padding: 8px 25px;
  border-radius: 25px;
  font-weight: 600;
}

.btn-donate-nav:hover {
  background: var(--secondary);
  color: white;
}

section {
  padding: 40px 0;
}

@media (max-width: 768px) {
  section {
    padding: 50px 0;
  }
}

/* =========================
  BUTTON SYSTEM
========================== */
.btn-primary-custom {
  background: var(--secondary) !important;
  color: #fff !important;
  padding: 12px 34px !important;
  border-radius: 30px !important;
  font-weight: 600 !important;
  border: none !important;
  transition: all 0.3s ease !important;
}

.btn-primary-custom:hover {
  background: var(--secondary);
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(54, 54, 54, 0.35);
  color: #fff;
}

/* =========================
           HERO SECTION
        ========================== */


.hero-carousel,
.hero-carousel .carousel-inner,
.hero-carousel .carousel-item {
  height: calc(100vh - 76px);
  /* navbar height */
}

.hero-carousel .carousel-item>div {
  height: 100%;
}

.hero-carousel .carousel-item {
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero-carousel .carousel-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.45));
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 850px;
  margin: 0 auto;
  text-align: center;
  color: #fff;
  padding: 0 15px;
}

.hero-content h1 {
  font-size: 3.8rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.3rem;
  margin-bottom: 30px;
}

.navbar-toggler-icon {
  width: 1em !important;
  height: 1em !important;
}

.navbar-toggler:focus {
  box-shadow: none !important;
}

@media (max-width: 768px) {

  .hero-carousel,
  .hero-carousel .carousel-inner,
  .hero-carousel .carousel-item {
    height: calc(100vh - 64px);
    /* mobile navbar height */
  }

  .hero-content {
    padding: 0 20px;
  }

  .hero-content h1 {
    font-size: 2.2rem;
    line-height: 1.3;
  }

  .hero-content p {
    font-size: 1.05rem;
    margin-bottom: 22px;
  }
}

/* =========================
    HERO ARROW
========================== */
.hero-arrow {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 2rem;
  color: #fff;
  animation: bounce 2s infinite;
  z-index: 10;
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translate(-50%, 0);
  }

  40% {
    transform: translate(-50%, -10px);
  }

  60% {
    transform: translate(-50%, -5px);
  }
}

/* =========================
   SECTION TITLES
========================= */
.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

.section-title p {
  max-width: 850px;
  margin: auto;
  color: #666;
  font-size: 1.05rem;
  line-height: 1.8;
}

/* =========================
   AIM SECTION
========================= */
.underline {
  height: 2px;
  width: 250px;
  background-color: var(--secondary);
  margin: 10px auto;
}

.aim-section {
  background: #ffffff;
  padding: 50px 0 0;
}

.aim-box {
  padding: 45px;
  border-radius: 18px;
  text-align: center;
}

.aim-box .btn {
  margin-top: 25px;
}

/* =========================
   MISSION CARDS
========================= */
.mission-section {
  background: #f9fafb;
  padding: 40px 0;
}

/* Card base */
.mission-card {
  background: #fff;
  border-radius: 10px;
  padding: 35px 25px;
  text-align: center;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover only on devices that support hover */
@media (hover: hover) {
  .mission-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  }
}

/* Image container */
.mission-img {
  width: 180px;
  height: 180px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
}

/* Image */
.mission-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

/* Image zoom on hover (desktop only) */
@media (hover: hover) {
  .mission-card:hover .mission-img img {
    transform: scale(1.08);
  }
}

/* Title */
.mission-card h5 {
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 10px;
  font-size: 1.05rem;
}

/* Description */
.mission-card p {
  font-size: 0.95rem;
  color: #6b7280;
  line-height: 1.3;
}

/* =========================
   RESPONSIVE TWEAKS
========================= */

/* Tablet (2 cards per row) */
@media (max-width: 991px) {
  .mission-img {
    width: 160px;
    height: 160px;
  }

  .mission-card {
    padding: 30px 20px;
  }
}

/* Mobile (2 cards per row) */
@media (max-width: 575px) {
  .mission-section {
    padding: 30px 0;
  }

  .mission-img {
    width: 100px;
    height: 100px;
  }

  .mission-card {
    padding: 22px 16px 15px;
  }

  .mission-card h5 {
    font-size: 1rem;
  }

  .mission-card p {
    font-size: 0.9rem;
  }
}

/* =========================
   ABOUT SECTION
========================= */

.about-img {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.about-content h3 {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 20px;
}

.about-content p {
  color: #666;
  line-height: 1.8;
  margin-bottom: 18px;
}

/* =========================
   INITIATIVES / CAUSES
========================= */
.causes-section {
  background: var(--light-bg);
}

.cause-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  height: 100%;
}

.cause-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.15);
}

.cause-img img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.cause-body {
  padding: 25px;
}

.cause-tag {
  display: inline-block;
  background: rgba(243, 63, 122, 0.1);
  color: var(--secondary);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.cause-body h5 {
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 15px;
}

.progress {
  height: 8px;
  background: #e9ecef;
  border-radius: 50px;
}

.progress-bar {
  background: linear-gradient(135deg, var(--secondary), var(--primary));
}

.cause-stats {
  display: flex;
  justify-content: space-between;
  margin: 18px 0;
}

.cause-stats div {
  text-align: center;
}

.cause-stats span {
  display: block;
  font-weight: 700;
  color: var(--secondary);
}

.cause-stats small {
  font-size: 0.8rem;
  color: #777;
}

/* =========================
   COUNTER SECTION
========================= */
.counter-section,
.cta-section {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
}


.counter-section {
  color: #fff;
}

.counter-box {
  text-align: center;
}

.counter-box i {
  font-size: 40px;
  margin-bottom: 12px;
}

.counter-number {
  font-size: 3rem;
  font-weight: 700;
}

.counter-label {
  font-size: 1rem;
  opacity: 0.95;
}

/* =========================
   MISSION / VISION / AIM BOXES
========================= */
.mv-section {
  background: #ffffff;
}

.mv-card {
  background: #fff;
  border-radius: 20px;
  padding: 35px 25px;
  text-align: center;
  /* box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08); */
  height: 100%;
  transition: all 0.35s ease;
}

.mv-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15);
}

.mv-icon {
  width: 85px;
  height: 85px;
  margin: auto;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  color: #fff;
  margin-bottom: 20px;
}

.mv-icon.mission {
  background: linear-gradient(135deg, #ff5f6d, #ff8fa3);
}

.mv-icon.vision {
  background: linear-gradient(135deg, #36d1dc, #5b86e5);
}

.mv-icon.aim {
  background: linear-gradient(135deg, #11998e, #38ef7d);
}

.mv-card h5 {
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}

.mv-card p {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.7;
}

/* =========================
   GUEST SECTION
========================= */
.guest-section {
  background: var(--light-bg);
}

.guest-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  height: 100%;
  transition: all 0.35s ease;
}

.guest-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15);
}

.guest-img {
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
}

.guest-img img {
  max-height: 100%;
  max-width: 100%;
}

.guest-body {
  padding: 25px;
  text-align: center;
}

.guest-body h5 {
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
}

.guest-role {
  font-size: 0.85rem;
  color: var(--secondary);
  margin-bottom: 12px;
}

.guest-quote {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.6;
}

/* =========================
   CTA SECTION
========================= */
.cta-section {
  color: #fff;
}

.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

.cta-box h2 {
  font-size: 2.6rem;
  font-weight: 700;
}

.cta-actions .btn {
  margin: 8px;
}

@media (max-width: 768px) {
  .cta-box {
    flex-direction: column;
    text-align: center;
  }

  .cta-box h2 {
    font-size: 2rem;
  }
}

/* =========================
   GALLERY / MEMORY
========================= */
.gallery-section {
  background: #fff;
}

.carousel-item {
    padding: 15px 0;
}
.slider-img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 12px;
}

/* =========================
   NEWS SECTION
========================= */
.news-section {
  background: var(--light-bg);
}

.news-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  transition: 0.3s ease;
  height: 100%;
}

.news-card:hover {
  transform: translateY(-10px);
}

.news-img img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.news-body {
  padding: 25px;
}

.news-body h5 {
  font-weight: 700;
  color: var(--dark);
}

.news-date {
  font-size: 0.85rem;
  color: #888;
}

.read-more-btn {
  background-color: var(--secondary) !important;
  border-radius: 50px !important;
  color: white !important;
  margin-top: 20px !important;
  font-size: 17px !important;
  padding: 5px 20px !important;
}

.read-more-btn:hover {
  background-color: var(--secondary);
  border-radius: 50px;
  color: white;
}

/* =========================
   SUPPORTERS TABLE
========================= */
.supporters-section {
  background: #fff;
}

.table-wrapper {
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  overflow: hidden;
}

/* THEAD COLOR */
.table thead th {
  background-color: var(--secondary) !important;
  color: #fff;
}

/* HOVER COLOR */
.table-hover>tbody>tr:hover>* {
  background-color: rgb(247, 247, 185) !important;
}

/* =========================
   NEWSLETTER
========================= */
.newsletter-section {
  background: var(--dark);

}

/* ===== HERO (SAME AS OTHER PAGES) ===== */
.top-about {
  background-color: var(--primary);
}

.top-about .inner-top {
  padding: 50px 0;
  width: 80%;
  margin: 0 auto;
  color: white;
  font-size: 17px;
}

.page-header {
  background: linear-gradient(rgba(0, 0, 0, .6), rgba(0, 0, 0, .6)),
    url('https://aapnipathshala.org/img/aapnipathshala-29.jpg');
  background-size: cover;
  background-position: center;
  padding: 140px 0 90px;
  color: white;
  text-align: center;
}

.page-header h1 {
  font-size: 3rem;
  font-weight: 700;
}

.page-header p {
  max-width: 900px;
  margin: 15px auto 0;
  font-size: 16px;
}

/* ===== CONTENT ===== */
.about-section {
  padding: 80px 0;
  background: #ffffff;
}

.about-section h3 {
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--dark);
}

.about-section p {
  font-size: 15px;
  line-height: 1.8;
  color: #444;
}

.about-image img {
  width: 100%;
  border-radius: 12px;
}

.center-heading {
  text-align: center;
  margin-bottom: 40px;
}

.center-heading h2 {
  color: var(--primary);
  font-weight: 700;
}

.center-heading p {
  max-width: 850px;
  margin: 0 auto;
  color: #555;
  font-size: 15px;
  line-height: 1.8;
  text-align: justify;
}

/* CTA */
.donate-cta {
  background: var(--primary);
  color: white;
  padding: 80px 0;
  text-align: center;
}

.donate-cta h2 {
  font-weight: 700;
}

.donate-cta .btn {
  background: white;
  color: var(--primary);
  border-radius: 30px;
  padding: 10px 35px;
  font-weight: 700;
  margin-top: 20px;
}


/* ===== SUPPORTER CARDS ===== */
.supporter-section {
  padding: 80px 0;
}

.supporter-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .1);
  padding: 20px;
  text-align: center;
  height: 100%;
}

.supporter-card img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 15px;
}

.supporter-card h6 {
  font-weight: 700;
}

.supporter-card p {
  font-size: 14px;
  color: #555;
}

/* ===== TABLE ===== */
.table-section {
  padding-bottom: 80px;
}

.table thead {
  background: var(--primary);
  color: white;
}

.table tbody tr:nth-child(even) {
  background: #f9f9f9;
}


/* Blog Section */
.blog-section {
  padding: 80px 0;
  background: #f8f9fa;
}

.blog-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, .1);
  transition: all .3s;
  height: 100%;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, .15);
}

.blog-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.blog-body {
  padding: 25px;
}

.blog-date {
  font-size: .9rem;
  color: #999;
  margin-bottom: 8px;
}

.blog-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}

.blog-excerpt {
  color: #666;
  margin-bottom: 15px;
}

.blog-read {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}

/* Sidebar */
.sidebar {
  background: white;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, .1);
}

.sidebar h5 {
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--dark);
}

.sidebar ul {
  list-style: none;
  padding: 0;
}

.sidebar ul li {
  margin-bottom: 10px;
}

.sidebar ul a {
  text-decoration: none;
  color: #555;
}

.sidebar ul a:hover {
  color: var(--primary);
}

/* Contact Section */
.contact-section {
  padding: 40px 0;
}

.contact-card {
  height: 100%;
  background: #fff;
  padding: 35px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .1);
}

.contact-info i {
  font-size: 1.5rem;
  color: var(--primary);
  margin-right: 12px;
}


.btn-submit {
  background: var(--primary) !important;
  color: white !important;
  padding: 12px 35px !important;
  border-radius: 25px !important;
  font-weight: 600 !important;
  border: none !important;
}

.btn-submit:hover {
  background-color: var(--secondary);
  color: white;
}

/* Map */
.map-container iframe {
  width: 100%;
  height: 350px;
  border-radius: 10px;
  border: none;
}


/* ===== DONATE SECTION ===== */
.donate-section {
  padding: 80px 0;
  background: #f8f9fa;
}

.donate-card {
  background: #fff;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, .1);
  height: 100%;
}

.amount-btn {
  border: 2px solid var(--primary);
  color: var(--primary);
  border-radius: 30px;
  padding: 5px 15px;
  font-weight: 600;
  margin: 5px;
  background: transparent;
}

.amount-btn:hover,
.amount-btn.active {
  background: var(--primary);
  color: #fff;
}



/* ===== PROFILE CARD ===== */
.profile-card {
  background: #fff;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.profile-card img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 15px;
}

.profile-card h5 {
  margin-bottom: 5px;
  font-weight: 600;
}

.profile-card small {
  color: #777;
}

.social-icons a {
  color: var(--primary);
  margin: 0 6px;
  font-size: 16px;
}

/* ===== BIO ===== */
.bio p {
  line-height: 1.8;
  color: #444;
}

/* ===== DONATE CTA ===== */
.donate {
  background: var(--primary) !important;
  color: #fff;
  padding: 80px 0;
  text-align: center;
}

.donate h2 {
  font-weight: 700;
  margin-bottom: 20px;
}

.donate .btn {
  background: #fff;
  color: var(--primary);
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 600;
}


/* ===== ACTIVITY CARDS ===== */
.activity-card {
  background: #fff;
  height: 100%;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, .1);
}

.activity-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.activity-body {
  padding: 20px;
}

.activity-body h5 {
  font-weight: 700;
  font-size: 1.05rem;
}

.activity-body p {
  font-size: 14px;
  color: #555;
}


/* ===== CONTENT ===== */
.history-section {
  padding: 80px 0;
}

.history-title {
  text-align: center;
  margin-bottom: 40px;
}

.history-title h2 {
  color: var(--primary);
  font-weight: 700;
}

.history-content {
  max-width: 900px;
  margin: auto;
  font-size: 15px;
  color: #555;
  line-height: 1.9;
}

.history-content p {
  margin-bottom: 20px;
}


/* ===== SOCIAL SECTION ===== */
.join-section {
  padding: 80px 0;
}

.join-card {
  background: #fff;
  border-radius: 16px;
  text-align: center;
  padding: 30px 20px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .1);
  height: 100%;
}

.join-card img {
  width: 90px;
  margin-bottom: 20px;
}

.join-card h6 {
  font-weight: 700;
  margin-bottom: 10px;
}

.join-card p {
  font-size: 14px;
  color: #555;
}

.join-card .btn {
  background: var(--primary);
  color: #fff;
  border-radius: 25px;
  padding: 6px 20px;
  font-weight: 600;
  font-size: 14px;
}

/* ===== FORM ===== */
.form-section {
  padding-bottom: 80px;
}

.form-box-join {
  max-width: 600px;
  margin: auto;
}


/* ===== SUPPORT CARDS ===== */
.monthly-support {
  background: #f5f5f5;
  padding: 20px 0 80px;
}

.support-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  height: 100%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .1);
}

.support-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.support-body {
  padding: 20px;
}

.support-body h5 {
  font-weight: 700;
  font-size: 1.05rem;
}

.support-body p {
  font-size: 14px;
  color: #555;
}

.support-amount {
  font-weight: 700;
  font-size: 17px;
  margin: 15px 0;
}

.btn-support {
  background: var(--primary) !important;
  color: #fff !important;
  border-radius: 25px !important;
  padding: 8px 22px !important;
  font-weight: 600 !important;
}

.btn-support:hover {
  background: var(--secondary);
  color: #fff;
}

/* ===== SECTION ===== */
.media-section {
  padding: 80px 0;
}


/* ===== MEDIA BOX ===== */
.media-box {
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, .15);
  cursor: pointer;
}

.media-box img,
.media-box iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-mid {
  height: 260px;
}

.media-small {
  height: 230px;
}

/* ===== NEWS CARD ===== */
.news-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

/* ===== CTA ===== */
.media-cta {
  background: var(--primary);
  color: #fff;
  padding: 80px 0;
  text-align: center;
}

.media-cta .btn {
  background: #fff;
  color: var(--primary);
  padding: 10px 35px;
  border-radius: 30px;
  font-weight: 700;
}


/* ===== DAILY SUPPORT ===== */
.daily-support {
  padding: 80px 0;
  background: #f5f5f5;
}


.donate-now {
  background-color: var(--primary);
  padding: 50px;
  color: white;
}

.donate-now a {
  color: var(--primary);
  font-weight: 700;
}

.donate-now hr {
  margin: 0px;
}

.donate-now h4 {
  margin-top: 10px;
  margin-bottom: 20px;
}

/* =======================
   CREATIVE GALLERY
======================= */
.creative-gallery {
  padding: 90px 0 30px;
}

.gallery-box {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  cursor: pointer;
  box-shadow: 0 15px 40px rgba(0, 0, 0, .15);
}

.gallery-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

.gallery-box:hover img {
  transform: scale(1.08);
}

/* Heights */
.gallery-big {
  height: 100%;
}

.gallery-mid {
  height: 260px;
}

.gallery-small {
  height: 240px;
}



/* ===== SECTION ===== */
.social-section {
  padding: 80px 0;
}


/* ===== SOCIAL CARD ===== */
.social-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  height: 100%;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .1);
  transition: .3s;
}

.social-card:hover {
  transform: translateY(-6px);
}

.social-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  font-weight: 700;
}

.social-header i {
  font-size: 1.6rem;
}

.fb {
  color: #1877F2;
}

.insta {
  color: #E1306C;
}

.twitter {
  color: #000;
}

.youtube {
  color: #FF0000;
}

.social-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.social-body {
  padding: 20px;
}

.social-body p {
  font-size: 14px;
  color: #555;
}

.social-body a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}

/* ===== CTA ===== */
.social-cta {
  background: var(--primary);
  color: #fff;
  padding: 80px 0;
  text-align: center;
}

.social-cta h2 {
  font-weight: 700;
}

.social-cta .btn {
  background: #fff;
  color: var(--primary);
  padding: 10px 35px;
  border-radius: 30px;
  font-weight: 700;
  margin-top: 20px;
}


/* ===== TEAM ===== */
.team-section {
  padding: 80px 0;
}

.team-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .1);
  text-align: center;
  padding: 25px 20px;
  height: 100%;
}

.team-card img {
  width: 100%;
  height: 290px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 20px;
}

.team-card h5 {
  font-weight: 700;
  margin-bottom: 5px;
}

.team-card span {
  font-size: 13px;
  color: #777;
}

.team-social {
  margin-top: 12px;
}

.team-social a {
  color: var(--primary);
  margin: 0 6px;
  font-size: 16px;
}

.read-more {
  margin-top: 15px;
}

.read-more .btn {
  background: var(--primary) !important;
  color: #fff !important;
  border-radius: 25px;
  padding: 6px 20px;
  font-size: 14px;
}

.read-more .btn:hover {
  background: var(--primary) !important;
  color: #fff !important;
}


/* ===== CONTENT ===== */
.volunteer-section {
  padding: 80px 0;
}


.volunteer-block {
  max-width: 900px;
  margin: 0 auto 40px;
  text-align: center;
}

.volunteer-block h4 {
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 15px;
}

.volunteer-block p {
  font-size: 14.5px;
  color: #555;
  line-height: 1.8;
}

/* ===== IMAGE GRID ===== */
.volunteer-images img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .1);
}

/* ===== CTA ===== */
.volunteer-cta {
  background: var(--primary);
  color: #fff;
  padding: 80px 0;
  text-align: center;
}

.volunteer-cta h2 {
  font-weight: 700;
}

.volunteer-cta .btn {
  background: #fff;
  color: var(--primary);
  padding: 10px 35px;
  border-radius: 30px;
  font-weight: 700;
  margin-top: 20px;
}

.form-box {
  background: #fff;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, .1);
}

.form-box h4 {
  color: var(--primary);
  font-weight: 700;
  text-align: center;
}

.form-box p {
  font-size: 14px;
  color: #555;
  text-align: center;
}

.form-control,
.form-select {
  border-radius: 8px;
  padding: 12px;
  font-size: 14px;
}

.form-label {
  font-weight: 600;
  font-size: 14px;
}

/* ===== TERMS ===== */
.terms-box {
  background: #fafafa;
  padding: 20px;
  border-radius: 10px;
  font-size: 13px;
  color: #555;
}

.terms-box h6 {
  font-weight: 700;
  text-align: center;
}


/* ===== SERVICE CARDS ===== */
.service-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, .08);
  overflow: hidden;
  height: 100%;
}

.service-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.service-body {
  padding: 18px;
}

.service-body h5 {
  font-weight: 700;
  font-size: 1.05rem;
}

.service-body p {
  font-size: 14px;
  color: #555;
}

.thankyou-section {
  background: linear-gradient(180deg, #fff 0%, #f8f9fa 100%);
  min-height: 75vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
}

.thankyou-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 70px 40px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
  border-top: 6px solid var(--primary);
  position: relative;
}

.thankyou-icon {
  width: 90px;
  height: 90px;
  margin: 0 auto 25px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}

.thankyou-icon i {
  font-size: 42px;
  color: var(--primary);
}

.thankyou-card h1 {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--primary);
}

.thankyou-card p {
  font-size: 1.4rem;
  color: #555;
  margin-top: 15px;
  line-height: 1.6;
}

.btn-theme {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  padding: 13px 36px;
  font-size: 1.1rem;
  border-radius: 50px;
  border: none;
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.35);
  transition: all 0.3s ease;
}

.btn-theme:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(212, 175, 55, 0.45);
  color: #fff;
}

@media (max-width: 768px) {
  .thankyou-card {
    padding: 55px 25px;
  }

  .thankyou-card h1 {
    font-size: 2.1rem;
  }

  .thankyou-card p {
    font-size: 1.15rem;
  }
}

.thankyou-note {
  margin-top: 25px;
  font-size: 0.95rem;
  color: #888;
}

.membership-section {
  background-color: #efeaea;
  padding: 60px 0 10px;
}

/* Card styling */
.membership-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 30px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  text-align: center;
}

/* Image styling */
.membership-card img {
  max-width: 100%;
  width: 80%;
  height: auto;
  border-radius: 8px;
}

/* Mobile optimization */
@media (max-width: 768px) {
  .membership-card img {
    width: 100%;
  }
}

.box {
  background-color: #f4f4f4;
  padding: 20px 0px 40px;
}

.newsImg {
  background-color: #f4f4f4;
  opacity: 0.99;
  filter: alpha(opacity=90);
  margin: 0 auto;
  object-fit: cover;
  object-position: center center;
  width: 100%;
  height: 450px;
  margin: 0px;
  border-radius: 3px;
}

.box-part {
  background: #f4f4f4;
  border: 1px solid #eee;
  border-radius: 5;
  min-height: 450px;
  padding-bottom: 0px;
  margin: 0px 0px;
  margin-top: 30px;
  border-radius: 10px;
}

footer {
  background: #1a1a1a;
  color: white;
  padding: 60px 0 20px;
}

.footer-content {
  margin-bottom: 40px;
}

.footer-logo {
  margin-bottom: 20px;
}

.footer-heading {
  font-weight: 700;
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #aaa;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: white;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  transition: all 0.3s;
}

.social-links a:hover {
  background: var(--primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  color: #aaa;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

@media screen and (min-width: 770px) and (max-width: 1000px) {
  .link-size {
    font-size: 14px;
  }
}

@media screen and (min-width: 577px) and (max-width: 769px) {
  .link-size {
    font-size: 14px;
  }
}

@media (max-width: 576px) {

  .hero-carousel,
  .hero-carousel .carousel-inner,
  .hero-carousel .carousel-item {
    height: calc(60vh - 76px);
    /* navbar height */
  }

  .hero-arrow {
    bottom: 10px;
  }

  .hero-content h1{
    font-size: 1.8rem;
    margin-bottom: 5px;
  }

  .btn-primary-custom{
    padding: 10px 25px !important;
  }

  .about-content h3{
    font-size: 1.5rem;
  }

  .section-title h2{
    font-size: 1.5rem;
  }

  .about-section {
    padding: 0 0;
    background: #ffffff;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .link-size {
    font-size: 13px;
  }
}

#whatsapp-btn {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(180deg, #25D366, #1da851);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  z-index: 9999;
  font-size: 28px;
  transition: transform .15s ease, box-shadow .15s ease;
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.18);
  user-select: none;
  /* prevent text selection while dragging */
  touch-action: pan-y;
  /* allow pointer events on mobile */
}

#whatsapp-btn:active {
  transform: scale(.97);
}

#whatsapp-btn.dragging {
  transition: none;
  transform: translateY(-3px) scale(1.02);
  cursor: grabbing;
}

#whatsapp-btn .fab {
  pointer-events: none;
}

@media (max-width: 768px) {
  body {
    padding-top: 64px;
  }

  .mission-card,
  .cause-card,
  .guest-card {
    box-shadow: 0 8px 18px rgba(0, 0, 0, .04);
  }
}


/* Icon shouldn't capture pointer */

/* Responsive: smaller on mobile */
@media (max-width: 576px) {
  #whatsapp-btn {
    width: 52px;
    height: 52px;
    font-size: 22px;
    right: 16px;
    bottom: 16px;
  }
}


.donation-slider {
  position: relative;
  overflow: hidden;
  padding: 15px 0;
}

/* Fade edges */
.donation-slider::before,
.donation-slider::after {
  content: "";
  position: absolute;
  top: 0;
  width: 12%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(to right, #f9fafb 0%, transparent 100%);
}

.donation-slider::after {
  right: 0;
  transform: rotate(180deg);
}

/* Track */
.slide-track {
  display: flex;
  align-items: stretch;
  width: calc(280px * 20);
  animation: scroll 35s linear infinite;
}

.donation-slider:hover .slide-track {
  animation-play-state: paused;
}

/* Individual slide */
.slider {
  width: 280px;
  padding: 10px;
  flex-shrink: 0;
  display: flex;
}

/* Card */
.slide-card {
  border: 1px solid #e9ecef;
  width: 100%;
  min-height: 165px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.slide-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

/* Text */
.doner-name {
  font-size: 15px;
  font-weight: 600;
  color: #1a1a1a;
}

.doner-amount {
  font-weight: 700;
  color: #198754;
  /* Bootstrap success */
  font-size: 20px;
}

/* Animation */
@keyframes scroll {
  100% {
    transform: translateX(calc(-280px * 10));
  }
}

/* Tablet */
@media (max-width: 768px) {
  .slider {
    width: 220px;
  }

  .slide-track {
    width: calc(220px * 20);
  }
}

/* Mobile */
@media (max-width: 500px) {
  .doner-name {
    font-size: 13px;
  }

  .doner-amount {
    font-size: 16px;
  }
}

